<?php $this->load->view('global_header'); ?>
<link rel="stylesheet" type="text/css" href="/assets/css/question.css"/>
<div class="nav">
    <?php echo anchor('question/index','<<返回资讯问题列表页'); ?>
</div>
<div class="question entry">
    <h5><?php echo $question->author; ?></h5><div class="author">：<?php echo $question->title; ?></div>
    <p><?php echo $question->content; ?></p>

    <div class="footer">
            <div class="ip">IP:<?php echo $question->ip; ?></div>
            <div class="time"><?php echo $question->created_at; ?></div>
            <div class="actions">
            <?php echo anchor('question/edit/' . $question->id, '编辑'); ?>
            <?php echo anchor('question/reply/' . $question->id, '回复'); ?>
            <?php echo anchor('question/delete/' . $question->id, '删除'); ?>
        </div>
    </div>
</div>
<?php $this->load->view('anwser/form'); ?>

<?php $this->load->view('global_footer'); ?>
